package dao;

import java.util.ArrayList;

import view.component.basecomponent.pojo.ComponentPojo;

public interface IComponentDAO {

	void init();

	void close();

	boolean create(ComponentPojo component);

	boolean update(ComponentPojo component);

	boolean delete(ComponentPojo component);

	ComponentPojo getBy(long id);

	ArrayList<ComponentPojo> getAll();

}
